﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ManageEmployee.aspx.vb" Inherits="TWIN_test.ManageEmployee" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body background="../Images/Training-Administrator-Background.gif">
    <form id="form1" runat="server">
    <div>
    <center>
    Manage Employees<br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
            CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="Black" 
            GridLines="Horizontal">
            <Columns>
                <asp:BoundField DataField="USERNAME" HeaderText="USERNAME" 
                    SortExpression="USERNAME" />
                <asp:BoundField DataField="MOBILEALIAS" HeaderText="MOBILEALIAS" 
                    SortExpression="MOBILEALIAS" />
                <asp:BoundField DataField="LASTACTIVITYDATE" HeaderText="LASTACTIVITYDATE" 
                    SortExpression="LASTACTIVITYDATE" />
            </Columns>
            <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
            <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
            <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F7F7F7" />
            <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
            <SortedDescendingCellStyle BackColor="#E5E5E5" />
            <SortedDescendingHeaderStyle BackColor="#242121" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionString2.ProviderName %>" 
            SelectCommand="SELECT * FROM ORA_ASPNET_USERS"></asp:SqlDataSource>
        <br />
        <asp:Button ID="editButton" runat="server" Text="Edit/Delete Employee" />
        <asp:Button ID="createButton" runat="server" Text="Create Employee" />
        <asp:Button ID="back" runat="server" Text="Back" />
    
    </center></div>
    </form>
</body>
</html>
